package com.zzyl.mapper;

import com.zzyl.entity.Floor;
import com.zzyl.vo.FloorVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FloorMapper {


    Floor readFloor(Long id) ;

    List<FloorVo> selectAllRoomAndBed();

    List<FloorVo> selectAllByNur();

    List<FloorVo> getAll();

    int add(Floor floor);

    int deleteFloor(Long id);

    int updateFloor(Floor floor);
}
